import { Injectable } from '@angular/core';

@Injectable()
export class AuthService {

  constructor() { }
  loginWithCredentials(username: string, password: string): boolean{
    if(username === 'wangpeng')
      return true;
    else
      return false;
  }
}
